package com.atDemo.car.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @ClassName: Controller 
 * @Description: TODO
 * @author: liuzg
 * @Date: 2022/7/22 13:43
 * @Week: 星期五
 * @Version: v1.0
 */
@RestController
public class Controller {
    @Resource
    private UserService user;

    @GetMapping(value = "/getTime")
    public String gettest() {
        return user.getUserList().toString()+"当前时间戳：" + System.currentTimeMillis() + "-2";
    }
}
